Skip to content

Conversation

@namsonx
Copy link
Collaborator

@namsonx namsonx commented Aug 14, 2025

Pull-request for the Sprint-25.6.1

HolQue and others added 19 commits July 18, 2025 16:08
…_development

Added inline Python code self test "JPP_2100"
…ation_maintenance_2

Documentation extended: Python inline code
(and already adapted to new syntax without 'eval' keyword)
…_docu

Selftest development and documentation maintenance
* Tests are commented out
* Expected results not yet defined
Reason: Feature currently under construction
…_docu

BADCASE tests of section INLINE_CODE added
…_docu

Extensions of selftest and documentation
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request adds extensive test coverage for Python inline code functionality in the JsonPreprocessor. The PR introduces a new testing framework for generating and executing comprehensive test scenarios, particularly focusing on Python inline code features, both valid (GOODCASE) and invalid (BADCASE) usage patterns.

Key changes include:

  • Added a new test snippet generation framework in GenSnippetsJPP.py to automatically create test cases
  • Introduced comprehensive test coverage for Python inline code with 570+ new test snippets
  • Added new test files for inline code functionality with both positive and negative test cases

Reviewed Changes

Copilot reviewed 69 out of 70 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
test/testtools/GenSnippetsJPP.py Enhanced test generation framework with new methods for Python inline code testing
test/testconfig/TestConfig.py Added configuration for new inline code test cases (JPP_2100-2194)
test/pytest/pytestfiles/ Added new pytest test files for inline code GOODCASE and BADCASE scenarios
test/testfiles/jpp-test_config_*.jsonp Generated 95 new test files covering various inline code patterns
packagedoc/additional_docs/ Updated documentation with Python inline code syntax and examples
test/*.txt, *.rst, *.html, *.csv Updated test documentation files with new test case listings
Comments suppressed due to low confidence (1)

test/testfiles/jpp-test_config_2161.jsonp:18

  • Missing closing angle bracket '>>' in the Python inline code within the key name. The inline code appears to be malformed.
    "<<(\"A\" if True else \"B\">>" : 1

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Collaborator

@HolQue HolQue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine to me!

@test-fullautomation test-fullautomation added the enhancement New feature or request label Aug 14, 2025
Copy link
Owner

@test-fullautomation test-fullautomation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Son,
looks good to me!
Thank you,
Thomas

@github-project-automation github-project-automation bot moved this from Open to In Progress in RobotFramework AIO Aug 14, 2025
@test-fullautomation test-fullautomation merged commit 750a07a into develop Aug 14, 2025
5 of 6 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in RobotFramework AIO Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0.14.2 enhancement New feature or request

Projects

Development

Successfully merging this pull request may close these issues.

4 participants